package com.inxedu.os.edu.pojo;


import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CourseKpoint implements Serializable {

    private Integer kpointId; //视频节点ID

    private Long courseId; //课程ID

    private String name; //视频名

    private Integer parentId; //视频父节点

    private Date addTime;   //创建时间

    private Integer sort;   //排序

    private Integer playCount;  //播放次数

    private Boolean isFree; //是否是免费 1免费 2收费

    private String videoUrl;    //视频路径

    private Integer teacherId;  //教师ID

    private String playTime;    //播放时间

    private Integer kpointType; //节点类型 0文件目录 1视频

    private String videoType;   //节点类型 0文件目录 1视频

    private String fileType;    //节点文件格式

    private String content; //文本内容


    //    节点list
    private List<CourseKpoint> kpointList=new ArrayList<CourseKpoint>();

    public Integer getKpointId() {
        return kpointId;
    }

    public void setKpointId(Integer kpointId) {
        this.kpointId = kpointId;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer Long) {
        this.courseId = courseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getPlayCount() {
        return playCount;
    }

    public void setPlayCount(Integer playCount) {
        this.playCount = playCount;
    }

    public Boolean getFree() {
        return isFree;
    }

    public void setFree(Boolean free) {
        isFree = free;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getPlayTime() {
        return playTime;
    }

    public void setPlayTime(String playTime) {
        this.playTime = playTime;
    }

    public Integer getKpointType() {
        return kpointType;
    }

    public void setKpointType(Integer kpointType) {
        this.kpointType = kpointType;
    }

    public String getVideoType() {
        return videoType;
    }

    public void setVideoType(String videoType) {
        this.videoType = videoType;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }



    public List<CourseKpoint> getKpointList() {
        return kpointList;
    }

    public void setKpointList(List<CourseKpoint> kpointList) {
        this.kpointList = kpointList;
    }
}
